import { optionsFilter, gender, type, state } from "./common";
import { transformOptions } from "./date";
import { scrub } from "./withdraw";

const filters = {
  optionsFilter,
  gender,
  type,
  state,
  transformOptions,
  scrub,
};

const install = (Vue) => {
  Object.keys(filters).forEach((key) => {
    Vue.filter(key, filters[key]);
  });
};

export default install;
